<!--{subtemplate jameson_read:author_header}-->
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div id="jameson_read" class="author_jamesonread  jameson_read uk-grid-collapse pt10" uk-grid>
	<div class="uk-width-medium" style="width: 230px;">
		<div class="uk-border-e6 back-f9">
			<div class="uk-card">
			    <div class="uk-card-header uk-text-center">
			            <div class="">
			                <img class="uk-border-circle" width="80" height="80" src="{eval echo avatar($_G['uid'],'big',true);}">
			            </div>
			            <div class="">
			                <h3 class="uk-card-title uk-margin-remove-bottom">{$_G['username']}</h3>
			                <p class="uk-text-meta uk-margin-remove-top">
			                	{lang jameson_read:yifabutushu}[{$_G['jameson_read']['booksnum']}]{lang jameson_read:bu}
			                </p>
			            </div>
			    </div>
			    <div class="uk-card-footer">
			    	<a href="{eval echo jamesonurl('author',0,'book');}" class="uk-button uk-button-primary">{lang jameson_read:tianjiaxinshu}+</a>
			    </div>
			</div>
			<ul class="uk-nav-primary uk-nav-parent-icon uk-border-top uk-border-bottom" uk-nav>
			  	<li class="pl10 {if !isset($_GET['act']) || ($_GET['act'] == 'index')} uk-active {/if} uk-border-bottom">
			  		<a href="{eval echo jamesonurl('author',0,'index');}"><span class="uk-margin-small-right" uk-icon="icon: pencil"></span>{lang jameson_read:zuopinguanli}</a>
			  	</li>
			  	<li class="pl10 {if $_GET['act'] == 'xiajia'} uk-active {/if} uk-border-bottom">
			  		<a href="{eval echo jamesonurl('author',0,'xiajia');}"><span class="uk-margin-small-right" uk-icon="icon: menu"></span>{lang jameson_read:xiajiazuopin}</a>
			  	</li>
		  		{if $_G['jameson_read']['enableshupiao']}
			  	<li class="pl10 {if $_GET['act'] == 'shupiao'} uk-active {/if} uk-border-bottom">
		  	        <a class="" href="{eval echo jamesonurl('author',0,'shupiao');}"><span class="uk-margin-small-right" uk-icon="icon: credit-card"></span>{lang jameson_read:wodeshupiao}</a>
			  	</li>
			  	{/if}
			  	<li class="pl10 {if $_GET['act'] == 'dashang'} uk-active {/if} uk-border-bottom">
			  		<a href="{eval echo jamesonurl('author',0,'dashang');}"><span class="uk-margin-small-right" uk-icon="icon: album"></span>{lang jameson_read:dashangjilu}</a>
			  	</li>
			    <li class=" pl10   {if $_GET['act'] == 'sell'} uk-active {/if}">
			        <a class="" href="{eval echo jamesonurl('author',0,'sell');}"><span class="uk-margin-small-right" uk-icon="icon: table"></span>{lang jameson_read:xiaoshou}{lang jameson_read:jilu}</a>
			    </li>
			</ul>
			{if $_G['jameson_read']['authorcentergg']}
			<div class="uk-padding-small" uk-alert>
				<!--{$_G['jameson_read']['authorcentergg']}-->
			</div>
			{/if}
		</div>
		</div>

<div class="uk-width-expand uk-margin-left">
    <h1 class="uk-heading-divider">{lang jameson_read:dashangjilu}
		<em class="xg1 xs1 xw0">{lang jameson_read:dangqian}{lang jameson_read:yongjinbilv}:{$_G['jameson_read']['dsyongjin']}%</em>
    </h1>
{if $dashangjilu}
        	<p class="xs2 xw0 mt10 mb10">
        		{lang jameson_read:leijidashangjine}
        		{$leiji['jine']}
    			{$_G['jameson_read']['dstrametitle']},
    			{lang jameson_read:leijikouchuyongjin}
    			{$leiji['yongjin']}
    			{$_G['jameson_read']['dstrametitle']},
    			{lang jameson_read:shijinshouru}
    			{$leiji['shiji']}
    			{$_G['jameson_read']['dstrametitle']}<br>
    			<span class="xg1 xs1">{lang jameson_read:yongjinshuoming}</span>
    		</p>
	<table class="uk-table uk-border-e6 uk-table-hover">
		<thead class="back-f9">
			<tr class="">
				<th class="">{lang jameson_read:xuhao}</th>
				<th class="">{lang jameson_read:shuming}</th>
				<th class="">{lang jameson_read:dashangzhe}</th>
				<th class="">{lang jameson_read:dashangjine}/{$_G['jameson_read']['trametitle']}</th>
				<th class="">{lang jameson_read:dashangshijian}</th>
			</tr>
		</thead>
		<tbody>
			{loop $dashangjilu $key $value}
			<tr id="">
				<td>{eval echo ++$key;}</td>
				<td><a href="{eval echo jamesonurl('book',$value['book_id']);}" class="">{$value['book_name']}</a></td>
				<td><a href="./?{$value['uid']}" class="">{$value['username']}</a></td>
				<td>{$value['price']}</td>
				<td>{eval echo date('Y-m-d H:i:s',$value['addtime']);}</td>
			</tr>
			{/loop}
		</tbody>
	</table>
	<div class="pg">{$pageshow}</div>
	{else}
	<div class="uk-alert-danger" uk-alert>{lang jameson_read:zanwudashangjilu}</div>
	{/if}
</div>


</div>
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
<!--{subtemplate jameson_read:all_footer}-->